Release 10.1A: OpenEdge Development:
ADM and SmartObjects


Running SmartDataObjects in a distributed environment

The SmartDataObject supports distributed computing. You can run a SmartDataObject in a distributed environment using either the traditional client/server model or the AppServer model:

Regardless of how you will deploy your SmartDataObject, you need to build it only once and maintain a single set of source code. This is because when you build a SmartDataObject, you use conditional preprocessor statements that identify code sections requiring database access and enable compiling the SmartDataObject into two versions:

The following sections describe how to set up the master (.w file) for your SmartDataObject so that it will compile conditionally into database-aware and non-database-aware versions, how the AppBuilder modifies the master, and what happens when the SmartDataObject is initialized in an application.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095